/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package services;

import businessObjects.Admin;
import javax.ejb.Local;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.ejb.TransactionManagement;
import javax.ejb.TransactionManagementType;

/**
 *
 * @author williamprado
 */
@Local
@TransactionManagement(TransactionManagementType.CONTAINER)
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public interface AdminServicesLocal {

    void nuevoAdmin(Admin admin);

    Admin login(String login, String pass);

    Admin consultarAdmin(String id);

    void actualizarAdmin(Admin admin);

    void eliminarAdmin(String id);

    int leerNumeroFilasBasic();

    void cambiarNumeroFilasBasic(int filas);
    
}
